<?php
    include_once 'islogin.php';
    include_once 'fun.php';
    $id = $_SESSION['userid'];
    $sql = "select * from user where id = '{$id}'";
    $con=connect();
    $res = query($sql,$con);
    $res=mysqli_fetch_assoc($res);
    include_once 'admin.html';
?>
